package com.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author caozhiren
 * @since 2024-02-23
 */
@TableName("sal_chance")
public class SalChance implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId(value = "chc_id", type = IdType.AUTO)
    private Long chcId;

    /**
     * 机会来源
     */
    private String chcSource;

    /**
     * 客户名称
     */
    private String chcCustName;

    /**
     * 概要
     */
    private String chcTitle;

    /**
     * 成功机率
     */
    private Integer chcRate;

    /**
     * 负责人
     */
    private String chcLinkman;

    /**
     * 公司电话
     */
    private String chcTel;

    /**
     * 机会描述
     */
    private String chcDesc;

    /**
     * 创建人编号
     */
    private Long chcCreateId;

    /**
     * 创建人姓名
     */
    private String chcCreateBy;

    /**
     * 创建时间
     */
    private LocalDateTime chcCreateDate;

    /**
     * 指派人编号
     */
    private Long chcDueId;

    /**
     * 指派人姓名
     */
    private String chcDueTo;

    /**
     * 指派时间
     */
    private LocalDateTime chcDueDate;

    /**
     * 销售机会状态
     */
    private String chcStatus;

    public Long getChcId() {
        return chcId;
    }

    public void setChcId(Long chcId) {
        this.chcId = chcId;
    }

    public String getChcSource() {
        return chcSource;
    }

    public void setChcSource(String chcSource) {
        this.chcSource = chcSource;
    }

    public String getChcCustName() {
        return chcCustName;
    }

    public void setChcCustName(String chcCustName) {
        this.chcCustName = chcCustName;
    }

    public String getChcTitle() {
        return chcTitle;
    }

    public void setChcTitle(String chcTitle) {
        this.chcTitle = chcTitle;
    }

    public Integer getChcRate() {
        return chcRate;
    }

    public void setChcRate(Integer chcRate) {
        this.chcRate = chcRate;
    }

    public String getChcLinkman() {
        return chcLinkman;
    }

    public void setChcLinkman(String chcLinkman) {
        this.chcLinkman = chcLinkman;
    }

    public String getChcTel() {
        return chcTel;
    }

    public void setChcTel(String chcTel) {
        this.chcTel = chcTel;
    }

    public String getChcDesc() {
        return chcDesc;
    }

    public void setChcDesc(String chcDesc) {
        this.chcDesc = chcDesc;
    }

    public Long getChcCreateId() {
        return chcCreateId;
    }

    public void setChcCreateId(Long chcCreateId) {
        this.chcCreateId = chcCreateId;
    }

    public String getChcCreateBy() {
        return chcCreateBy;
    }

    public void setChcCreateBy(String chcCreateBy) {
        this.chcCreateBy = chcCreateBy;
    }

    public LocalDateTime getChcCreateDate() {
        return chcCreateDate;
    }

    public void setChcCreateDate(LocalDateTime chcCreateDate) {
        this.chcCreateDate = chcCreateDate;
    }

    public Long getChcDueId() {
        return chcDueId;
    }

    public void setChcDueId(Long chcDueId) {
        this.chcDueId = chcDueId;
    }

    public String getChcDueTo() {
        return chcDueTo;
    }

    public void setChcDueTo(String chcDueTo) {
        this.chcDueTo = chcDueTo;
    }

    public LocalDateTime getChcDueDate() {
        return chcDueDate;
    }

    public void setChcDueDate(LocalDateTime chcDueDate) {
        this.chcDueDate = chcDueDate;
    }

    public String getChcStatus() {
        return chcStatus;
    }

    public void setChcStatus(String chcStatus) {
        this.chcStatus = chcStatus;
    }

    @Override
    public String toString() {
        return "SalChance{" +
        "chcId = " + chcId +
        ", chcSource = " + chcSource +
        ", chcCustName = " + chcCustName +
        ", chcTitle = " + chcTitle +
        ", chcRate = " + chcRate +
        ", chcLinkman = " + chcLinkman +
        ", chcTel = " + chcTel +
        ", chcDesc = " + chcDesc +
        ", chcCreateId = " + chcCreateId +
        ", chcCreateBy = " + chcCreateBy +
        ", chcCreateDate = " + chcCreateDate +
        ", chcDueId = " + chcDueId +
        ", chcDueTo = " + chcDueTo +
        ", chcDueDate = " + chcDueDate +
        ", chcStatus = " + chcStatus +
        "}";
    }
}
